<template>
  <div>
    <el-row :style="searchStyle" :gutter="10" class="search" :justify="justify">
      <el-col :style="logoStyle" :span="logoSize" class="logo">N</el-col>
      <el-col :span="searchSize"> <slot name="search"></slot> </el-col>
      <el-col v-show="otherSize != -1" :span="otherSize"> </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  props: {
    logoSize: Number,
    searchSize: Number,
    otherSize: Number,
    justify: String,
    searchStyle: Object,
    logoStyle: Object
  },
};
</script>

<style scoped>
.search {
  background-color: #f5f3f2;
  margin: auto;
  align-items: center;
  padding: 10px 0;
  height: 200px;
}

.logo {
  height: 100px;
  font-size: 200px;
  text-align: center;
  line-height: 100px;
  color: #3271ae;
}
</style>